import { Link, Routes, Route } from "react-router-dom";
//ip查询
import QuerIP from "./component/ip";
//节点下载工具
import CZ from "./ultil/cz";

// import Index from './table/index.js'
// 导入节点业主信息
import Cnckb from "./component/cnckb";
/* import Ljf from "./ljf"; */
import Ljf from './component/ljf'
import Hzwz from "./component/hzwz";
import Clj from "./component/clj";
import Kefu from "./component/kehu";
import SuiS from './component/suisheng';
import Newkehu from './component/newkehu';
import Wj from "./component/wen";
// 微信二维码
import log from "./img/log.jpg";
//时间
import WidgetTime from "./ultil/data";
import { Carousel, Image } from "antd";
//走马灯
const contentStyle = {
  height: "100px",
  color: "#fff",
  lineHeight: "100px",
  textAlign: "center",
  background: "#364d79",
};

const App1 = () => (
  <Carousel autoplay>
    <div>
      <h1 style={contentStyle}>
        {" "}
        <Link to="/">
          <font size="10">首页</font>
        </Link>{" "}
      </h1>
    </div>
    <div>
      <h2 style={contentStyle}>
        <Link to="Ljf">
          <font size="10">李金福</font>
        </Link>{" "}
      </h2>
    </div>
    <div>
      <h3 style={contentStyle}>
        {" "}
        <Link to="cnckb">
          <font size="10">苍南陈克斌</font>
        </Link>{" "}
      </h3>
    </div>
    <div>
      <h4 style={contentStyle}>
        <Link to="clj">
          <font size="10">程良军</font>
        </Link>{" "}
      </h4>
    </div>
    <div>
      <h5 style={contentStyle}>
        <Link to="hzwz">
          <font size="10">杭州吴总</font>
        </Link>{" "}
      </h5>
    </div>
    <div>
      <h6 style={contentStyle}>
        {" "}
        <Link to="/wzxz">
          {" "}
          <font size="10">温州许总</font>
        </Link>{" "}
      </h6>
    </div>
    <div>
      <h6 style={contentStyle}>
        {" "}
        <Link to="ssl">
          {" "}
          <font size="10">随升</font>
        </Link>{" "}
      </h6>
    </div>
    <div>
      <h6 style={contentStyle}>
        {" "}
        <Link to="newkf">
          {" "}
          <font size="10">第二批客户</font>
        </Link>{" "}
      </h6>
    </div>
    <div>
      <h6 style={contentStyle}>
        {" "}
        <Link to="/cz">
          {" "}
          <font size="10">工具</font>
        </Link>{" "}
      </h6>
    </div>
    
  </Carousel>
);

function App() {
  return (
    <div>
      {/* 时间 */}
      <center>
        {" "}
        <font size="5">
          <WidgetTime></WidgetTime>
        </font>
      </center>
      {/* 作者信息 */}
      <Image width={180} height={180} src={log} alt="联系作者"></Image>
      <font size="20" color="red">
        微信号:p17502552570  微信昵称：玄五π 
      </font>

      <center>
        {/* 走马灯 */}
        <App1></App1>
      </center>
      {/* 查询区块高度 */}
      <QuerIP></QuerIP>
      {/* 路由表导入 */}

      <Routes>
        <Route path="/ljf" element={<Ljf></Ljf>}></Route>
        <Route path="/cnckb" element={<Cnckb></Cnckb>}></Route>
        <Route path="/hzwz" element={<Hzwz></Hzwz>}></Route>
        <Route path="/clj" element={<Clj></Clj>}></Route>
        <Route path="/ssl" element={<SuiS></SuiS>}></Route>
        <Route path="/wzxz" element={<Wj></Wj>}></Route>
        {/* <Route path="/tll" element={<Tll></Tll>}></Route> */}
        <Route path="/cz" element={<CZ></CZ>}></Route>
        <Route path="/newkf" element={<Newkehu></Newkehu>}></Route>
      </Routes>
    </div>
  );
}
export default App;
